package com.demo.service.impl;

import com.demo.mapper.ErrorLogMapper;
import com.demo.pojo.ErrorLog;
import com.demo.service.ErrorLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author leiliang
 * @version 1.0
 * @Description
 * @date 2021/2/7 11:41
 */
@Service
public class ErrorLogServiceImpl implements ErrorLogService {

    @Autowired
    private ErrorLogMapper errorLogMapper;

    @Override
    public int insertSelective(ErrorLog record) {

        return errorLogMapper.insertSelective(record);
    }
}
